{template 'index/header'}
<!--header end--> 

<!--main-->

<div class="wb insidebg">
  <div class="container mo pt50">
    <div class="fl wb20 newsl_bg">
     <ul class="wb80 mo">
     <li><a href="#" title="" {if $_GPC['cat_id'] == 'all'}class='active'{/if}>全部</a></li>
	 {loop $cat_list $cat}
	   <li {if $cat['cat_id'] == $_GPC['cat_id']}class='active'{/if}>
		   <a href="/web/index.php?c=account&a=welcome&page=news&cat_id={$cat['cat_id']}">{$cat['cat_name']}</a>
	   </li>
	   {/loop}
     </ul>
    </div>
    <div class="fr wb75 pb50 newsr_bg">
     <div class="wb90 mo mt30">
     <h3>新闻资讯</h3>
     <hr>
     <ul class="pt30 pb50 oh">
	  {loop $article_list $art}
     <li>
     <div class="listimg"><a href="/web/index.php?c=account&a=welcome&page=news&cat_id={$art['article_cat']}&article_id={$art['article_id']}" title="{$art['article_title']}"><img src="{php echo tomedia($art['article_thumb'])}" width=230 height=120 alt=""/></a></div>
     <div class="listtxt">
     <h4><a href="/web/index.php?c=account&a=welcome&page=news&cat_id={$art['article_cat']}&article_id={$art['article_id']}" title="{$art['article_title']}">{$art['article_title']}</a></h4>
     <p>
     {$art['article_desc']}
     <span><?php echo date('Y-m-d',strtotime($art['add_time'])) ?></span>
     </p>
     </div>
     </li>
	 {/loop}     
     </ul>
     <div class="clear"></div>
     <!--<div class="pages">
     <span class="pageinfo">共<label id="total">38</label>条 1/2 页</span>  
     <span  class="pagefirst" >首页</span>  
     <span class="pageup" >上一页</span>    
     <span class="current">1</span> 
     <a class="pagenum" href="#">2</a>   
     <a class="pagedown" href="#">下一页</a> 
     <a  class="pageend"  href="#" >尾页</a>
     </div>-->
     </div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<!--main end--> 
<!--footer-->
{template 'index/footer'}
